An Implicit Characterization of the Polynomial-Time Decidable Sets by Cons-Free Rewriting
نویسندگان
چکیده
We define the class of constrained cons-free rewriting systems and show that this class characterizes P , the set of languages decidable in polynomial time on a deterministic Turing machine. The main novelty of the characterization is that it allows very liberal properties of term rewriting, in particular non-deterministic evaluation: no reduction strategy is enforced, and systems are allowed to be non-confluent. We present a class of constructor term rewriting systems that characterizes the complexity class P—the set of languages decidable in polynomial time on a deterministic Turing machine. The class is an analogue of similar classes in functional programming that use cons-freeness–the inability of a program to construct new compound data during its evaluation–to characterize a range of complexity classes, including L and P [1, 2], and for higher-order programs PSPACE and hierarchies of exponential space and time classes [3]. The primary novelty is that while previous work has crucially utilized the deterministic evaluation (in particular, call-by-value) and typing disciplines usually found in functional programming languages, we allow for the full rewriting relation to be used, and we allow non-orthogonal systems. The ability to use non-orthogonal and non-confluent systems means that we do not have access to standard results on orthogonality such as normalization or finite developments of sets of redexes, and we cannot appeal to results connecting deterministic Turing machines to confluent rewriting [4], or to functional programming without overlapping function declarations [1, 3, 5]. These are the main reasons that our proofs are substantially more difficult than similar work by Bonfante showing that introducing non-determinism to a cons-free functional language characterizes P [2].
منابع مشابه
Complexity Hierarchies and Higher-Order Cons-Free Rewriting
Constructor rewriting systems are said to be cons-free if, roughly, constructor terms in the righthand sides of rules are subterms of constructor terms in the left-hand side; the computational intuition is that rules cannot build new data structures. It is well-known that cons-free programming languages can be used to characterize computational complexity classes, and that cons-free first-order...
متن کاملA characterization of polynomial complexity classes using dependency pairs
The dependency pair method has already shown its power in proving termination of term rewriting systems. We adapt this framework using polynomial assignments in order to characterize with two distinct criteria the set of the functions computable in polynomial time and the set of the functions computable in polynomial space. To our knowledge, this is a first attempt to capture complexity classes...
متن کاملHigher-order Cons-free Interpreters
Constructor rewriting systems are said to be cons-free if any constructor term occurring in the rhs of a rule must be a subterm of the lhs of the rule. Roughly, such systems cannot build new data structures during their evaluation. In earlier work by several authors, (typed) cons-free systems have been used to characterise complexity classes such as polynomial or exponential time or space by va...
متن کاملComplexity Hierarchies and Higher-order Cons-free Term Rewriting
Constructor rewriting systems are said to be cons-free if, roughly, constructor terms in the right-hand sides of rules are subterms of the left-hand sides; the computational intuition is that rules cannot build new data structures. In programming language research, cons-free languages have been used to characterize hierarchies of computational complexity classes; in term rewriting, cons-free fi...
متن کاملFp 1 Is Undecidable for Nitely Presented Monoids with Word Problems Decidable in Polynomial Time
In the rst part of this paper properties P of nitely presented monoids are considered that satisfy the following two conditions: (1) each monoid that can be presented through a nite convergent string-rewriting system has property P , and (2) each nitely presented monoid having property P is of homology type FP3. Following an idea presented in (Otto and Sattler-Klein 1997) it is shown that these...
متن کامل